﻿using NavGuide.Guide;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NavGuide.EntityMapper.Guide
{
    public class NavigationCfg:EntityTypeConfiguration<Navigation>
    {
        public NavigationCfg()
        {
            this.HasKey(s => s.Id);
//            this.HasOptional(s => s.Parent).WithMany().HasForeignKey(s => s.ParentId); 
        }
    }
}
